package com.ctsi.system.domain;

import java.util.HashMap;
import java.util.Map;

/**
 * Vue router 适配
 *
 * @author zhangjw
 */
public class VueMenusApater extends SysMenus {


    private Map<String, Object> meta = new HashMap<>();

    public static VueMenusApater apater(SysMenus menus) {

        return null;
    }

    public Map<String, Object> getMeta() {
        return meta;
    }

    public void setMeta(Map<String, Object> meta) {
        this.meta = meta;
    }

    private void initMeta() {
        this.meta.put("permissionId", this.getPermissionId());
        this.meta.put("keepAlive", this.getKeepAlive() != 0);
    }

}
